<?php

namespace app\admin\controller\xmwms;

use app\common\controller\Backend;


class Unit extends Backend
{
    /**
     * @var \app\admin\model\xmwms\Unit
     */
    protected object $model;

    protected string|array $defaultSortField = 'weigh,desc';

    protected string|array $preExcludeFields = ['id', 'create_time', 'update_time'];

    protected string|array $quickSearchField = ['name'];

    public function initialize(): void
    {
        parent::initialize();
        $this->model = new \app\admin\model\xmwms\Unit;
    }

}